package com.example.administrator.testxingpiao.ui.detail;

import com.example.administrator.testxingpiao.bean.GoodsDetailBean;
import com.example.administrator.testxingpiao.mvp.IBaseModel;
import com.example.administrator.testxingpiao.mvp.IBasePresenter;
import com.example.administrator.testxingpiao.mvp.IBaseView;

/**
 * Created by Administrator on 2016/8/8.
 */
public class DetailContract {


    public interface View extends IBaseView {

        void onGetGoodsDetail(GoodsDetailBean goodsDetailBean);
    }

    public interface Model extends IBaseModel {

        public void getGoodsDetail(String path, int type,DetailModel.DetailCallBack<GoodsDetailBean> callBack);

    }

    public interface Presenter extends IBasePresenter {

        public void getData(String path, int type);
    }
}
